<template>
  <div class="tag">
    <slot></slot>
  </div>
</template>

<script>
export default {}
</script>

<style lang="scss" scoped>
.tag {
  width: 140px;
  height: 160px;
  border: 2px solid green;
  border-radius: 5px;
  position: relative;
  background-color: #fff;
}
.tag:before,
.tag:after {
  content: '';
  display: block;
  border-width: 20px;
  position: absolute;
  bottom: -40px;
  left: 70px;
  border-style: solid dashed dashed;
  border-color: green transparent transparent;
  font-size: 0;
  line-height: 0;
}
.tag:after {
  bottom: -38px;
  border-color: #fff transparent transparent;
}
</style>
